package day03

object Test03_Class {
  def main(args: Array[String]): Unit = {

    // 创建一个对象
    val student = new Student()
    // val name =  student.name
    // println(name)  // alice

    println( student.age)  // 0
    println( student.sex)  // null

    student.sex = "female"
    println( student.sex)  // female

  }
}
